<%--
  Created by IntelliJ IDEA.
  author: Jsonor
  date: 2018/3/21 16:06
  description: Description
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>

<html>
<head>
  <title>更新信息</title>
</head>
<body>
<c:set var="root" value="${pageContext.request.contextPath}"/>
<form id="userAction_save_do" name="Form1" action="${root}/app/update" method="get">
<table style="width:100%;border:1px white solid">
  <tbody>
  <input hidden type="text"name="code" value="${list.code}">
  <tr bgcolor="#4F81BD"style="color: #fff;">
    <td hidden>code</td>
    <td>name</td>
    <td>region</td>
    <td>surfaceArea</td>
    <td>indepYear</td>
    <td>population</td>
    <td>lifeExpectancy</td>
    <td>gnp</td>
    <td>headOfState</td>
    <td>capital</td>
    <td>code2</td>
  </tr>
    <tr bgcolor="${status.index%2 == 0?'#D0D8E8':'#E9EDF4'}">
      <td><input type="text" name="name" value="${list.name}"></td>
      <td><input type="text" name="region" value="${list.region}"></td>
      <td><input type="text" name="surfaceArea" value="${list.surfaceArea}"></td>
      <td><input type="text" name="indepYear" value="${list.indepYear}"></td>
      <td><input type="text" name="population" value="${list.population}"></td>
      <td><input type="text" name="lifeExpectancy" value="${list.lifeExpectancy}"></td>
      <td><input type="text" name="gnp" value="${list.gnp}"></td>
      <td><input type="text" name="headOfState" value="${list.headOfState}"></td>
      <td><input type="text" name="capital" value="${list.capital}"></td>
      <td><input type="text" name="code2" value="${list.code2}"></td>
    </tr>
  <tr>
    <td class="ta_01" style="width:100%;" align="center"
        bgColor="#f5fafe" colSpan="4">
      <button type="submit" id="userAction_save_do_submit" value="确定" class="button_ok">
        &#30830;&#23450;
      </button>

      <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
      <button type="reset" value="重置" class="button_cancel">&#37325;&#32622;</button>

      <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
      <INPUT class="button_ok" type="button" onclick="history.go(-1)" value="返回"/>
      <span id="Label1"></span>
    </td>
  </tr>

  </tbody>
</table>
</form>
</body>
</html>
